<include file="SpStore:header" />
		<!----《/头部结束》----->
		<div class="ncsc-layout wrapper">
		<include file="SpStore:order_left" />
		  <div id="layoutRight" class="ncsc-layout-right">
			<div class="ncsc-path"><i class="icon-desktop"></i>商家管理中心<i class="icon-angle-right"></i>订单物流<i class="icon-angle-right"></i>实物交易订单</div>
			<div class="main-content" id="mainContent">
			  
		<div class="ncsc-oredr-show">
		  <div class="ncsc-order-info">
			<div class="ncsc-order-details">
			  <div class="title">订单信息</div>
			  <div class="content">
				<dl>
				  <dt>收&nbsp;&nbsp;货&nbsp;&nbsp;人：</dt>
				  <dd>{$order.realname}&nbsp; {$order.mob_phone}&nbsp;{$order.tel_phone}&nbsp;{$order.province} {$order.city}	{$order.area} {$order.address}</dd>
				</dl>
				<dl>
				  <dt>发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票：</dt>
				  <dd>
							  </dd>
				</dl>
				<dl>
				  <dt>买家留言：</dt>
				  <dd>{$order.order_message}</dd>
				</dl>
				<dl class="line">
				  <dt>订单编号：</dt>
				  <dd>{$order.order_sn}<a href="javascript:void(0);">更多<i class="icon-angle-down"></i>
					<div class="more"><span class="arrow"></span>
					  <ul>
							<li>支付方式：<span>{$order.payment_name} </span></li>
							<li>下单时间：<span>{$order.add_time|=date('Y-m-d H:i:s',###)}</span></li>
					  </ul>
					</div>
					</a></dd>
				</dl>
				<dl>
				  <dt></dt>
				  <dd></dd>
				</dl>
			  </div>
			</div>
					<div class="ncsc-order-condition">
			  <dl>
				<dt><i class="icon-ok-circle green"></i>订单状态：</dt>
				<dd>
					<eq name="order.order_state" value="10">
					订单已经提交，等待买家付款
					</eq>
					<eq name="order.order_state" value="20">
					已付款，等待卖家发货
					</eq>
					<eq name="order.order_state" value="30">
					已发货，等待买家确认收货
					</eq>
					<eq name="order.order_state" value="40">
					已收货
					</eq>				
				
				
				</dd>
			  </dl>
			  <ul>
					<eq name="order.order_state" value="10">
					<li>1. 买家尚未对该订单进行支付。</li>
					</eq>
					<eq name="order.order_state" value="20">
					<li>1. 商品付款</li>
					</eq>
					<eq name="order.order_state" value="30">
					<li>1. 商品已发出； 无需要物流。</li>
					<li>2.如果买家没有及时进行收货，系统将于 7天后自动完成“确认收货”，完成交易。</li>
					</eq>
					<eq name="order.order_state" value="40">
					已收货
					</eq>	
				
			  </ul>
			</div>
						  </div>
			<div id="order-step" class="ncsc-order-step">
			<dl class="step-first <in name="order.order_state" value="10,20,30,40">current</in>">
			  <dt>提交订单</dt>
			  <dd class="bg"></dd>
			  <dd class="date" title="下单时间">{$order.add_time|=date('Y-m-d H:i:s',###)}</dd>
			</dl>
			<dl class="<in name="order.order_state" value="20,30,40">current</in>">
			  <dt>支付订单</dt>
			  <dd class="bg"> </dd>
			  <dd class="date" title="付款时间">1970-01-01 08:00:00</dd>
			</dl>
			<dl class="<in name="order.order_state" value="30,40">current</in>">
			  <dt>商家发货</dt>
			  <dd class="bg"> </dd>
			  <dd class="date" title="发货时间">1970-01-01 08:00:00</dd>
			</dl>
			<dl class="<in name="order.order_state" value="40">current</in>">
			  <dt>确认收货</dt>
			  <dd class="bg"> </dd>
			  <dd class="date" title="完成时间">1970-01-01 08:00:00</dd>
			</dl>
			<dl class="">
			  <dt>评价</dt>
			  <dd class="bg"></dd>
			  <dd class="date" title="完成时间">1970-01-01 08:00:00</dd>
			</dl>
		  </div>
			<div class="ncsc-order-contnet">
			<table class="ncsc-default-table order">
			  <thead>
				<tr>
				  <th class="w10">&nbsp;</th>
				  <th colspan="2">商品</th>
				  <th class="w120">单价(元)</th>
				  <th class="w60">数量</th>
				  <th class="w100">优惠活动</th>
				  <th class=""><strong>实付 * 佣金比 = 应付佣金(元)</strong></th>
				  <th>交易操作</th>
				</tr>
			  </thead>
			  <tbody>
				<foreach name="order.goods_list" item="vo">
				<tr class="bd-line">
				  <td>&nbsp;</td>
				  <td class="w50">
					  <div class="pic-thumb">
						<a target="_blank" href=""><img src="{$vo.goods_image}"></a>
					  </div>
				  </td>
				  <td class="tl">
					<dl class="goods-name">
					  <dt>
						<a target="_blank" href="">{$vo.goods_name}  <font style="color:red;">{$vo.color_n} {$vo.spec_n}</font></a>
					  </dt>
					  <dd></dd>
					</dl>
				  </td>
				  <td>
					<if condition="$vo.goods_price gt 0">
						￥{$vo.goods_price}
						<if condition="$vo.point_num gt 0">
							+
						</if>
					</if>
					<if condition="$vo.point_num gt 0">
					{$vo.point_num}&nbsp;积分
					</if>
					<if condition="$vo.coin_num gt 0">
						{$vo.coin_num}&nbsp;增值币
					</if>					  
				  
				  <p class="green"></p></td>
				  <td>{$vo.goods_num}</td>
				  <td></td>
				  <td class="commis bdl bdr">
					{$vo.goods_price} * 0% = <b>0.00</b>
				  </td>

				  <!-- S 合并TD -->
				  <if condition="$g_order_state neq 1">
				  <td class="bdl bdr" rowspan="{$order.count}" {$g_order_state=1}>
					<eq name="order.order_state" value="10">
					待付款
					</eq>
					<eq name="order.order_state" value="20">
					待发货
					</eq>
					<eq name="order.order_state" value="30">
					待收货
					</eq>
					<eq name="order.order_state" value="40">
					已收货
					</eq>
					<!-- 修改价格 -->					
					<!-- 取消订单 -->
					<eq name="order.order_state" value="10">
<!-- 					<p><a href="javascript:void(0)" class="ncsc-btn ncsc-btn-red mt5" order_id="{$vo.order_id}" rec_id="{$vo.rec_id}"nc_type="dialog_gotout"   dialog_width="400" >取消订单</a></p> -->
					<eq>
					<!-- 发货 -->
					</td>
				</if>
				</tr>
				</foreach>

			  </tbody>
			  <tfoot>
				<tr>
				  <td colspan="20">
					<dl class="freight">
					  <dd>
					  <if condition="$order.shipping_fee gt 0">
					  （免运费）
					  <else/>
					  {$order.shipping_fee}
					  </if>
					  </dd>
					</dl>
					<dl class="sum">
					  <dt>订单金额：</dt>
					  <dd><em>
					<if condition="$order.order_amount gt 0">
						￥{$order.order_amount}
						<if condition="$order.points_amount gt 0">
							+
						</if>
					</if>
					<if condition="$order.points_amount gt 0">
					{$order.points_amount}&nbsp;积分
					</if>
					<if condition="$order.gold_amount gt 0">
						{$order.gold_amount}&nbsp;增值币
					</if>						  
					  
					  </em></dd>
					</dl>
				  </td>
				</tr>
			  </tfoot>
			</table>
		  </div>
		</div>
		<script type="text/javascript">
		$(function(){
			$('#show_shipping').on('hover',function(){
				var_send = '1970-01-01 08:00:00&nbsp;&nbsp;卖家已发货<br/>';
				$.getJSON('index.php?act=store_deliver&op=get_express&e_code=&shipping_code=&t=6giWnKA',function(data){
					if(data){
						data = var_send+data;
						$('#shipping_ul').html(data);
						$('#show_shipping').unbind('hover');
					}else{
						$('#shipping_ul').html(var_send);
						$('#show_shipping').unbind('hover');
					}
				});
			});
		});
		</script>
			</div>
		  </div>
		</div>
<include file="SpStore:footer" />

</body>

</html>